<table>
    {section name=rows loop=$head}
    {strip}
    <tr>
    {section name=cols loop=$head[rows]}
    {strip}
    <th>{$head[rows][cols]}</th>
    {/strip}
    {/section}
    </tr>
    {/strip}
    {/section}
    {section name=rows loop=$items}
    {strip}
    <tr>
    {section name=cols loop=$items[rows]}
    {strip}
    <td>{$items[rows][cols]}</td>
    {/strip}
    {/section}
    </tr>
    {/strip}
    {/section}
</table>